/*
*Version:1.0.0
*Email:netwenchao@hotmail.com
*Owner:denny.dong
*LastUpdate:09-06-16
*/
function $(elid){return typeof(elid)=="string"?document.getElementById(elid):elid;}
function colOrUncol(targetid,iconid,iconurl){	$(targetid).style.display=($(targetid).style.display=="none"?"":"none");if(iconid.length>0)$(iconid).src=iconurl;}
function $Event(strElment,oEvent,ofunc){
	if(window.addEventListener)
		$(strElment).addEventListener(oEvent,ofunc,false);
	else
		$(strElment).attachEvent("on"+oEvent,ofunc);
}